Skip to content

LCE Pre-Release Save File

NOTE

Data in this format is endian-dependant and also commonly has compression applied to it.
Check out Basic Info.md for more info.

Upgrading

  • These save files can be upgraded to the new format, working in atleast TU0, does not work in TU75.
  • Upgrading a world in this format will usually leave a "players_" file. This also means you will lose your player data upon loading a save in a newer version.
  • When upgraded, the timestamps of all the files are set to 0L.

Save file structure

NameSize (in bytes)Description
Offset0x04 (uint)Offset of File Index
Index Size0x04 (uint)Size of File Index in bytes
Minimum Version0x02 (ushort)Minimum file version the LCE client has to support to load the save (might not be used in-game)
Current Version0x02 (ushort)Current version of the save file
File Datavariablebytes of each file contained inside the save
File IndexvariableFilenames, offsets within save, and size in bytes of files.

TIP

You can get the file count by dividing the Index Size by 136 (e.g $1360 / 136$)

File Index

NameSize (in bytes)Description
File Name0x80UTF16 UNIX-style path string to dictate the path of the file
File Size0x04 (uint)Size of file in bytes
File Offset0x04 (uint)Offset of file in bytes

WARNING

There may be index data at the end of NBT file data
I assume that these versions might not remove index data from files as usually it'd not get read at all...

Contributors

The avatar of contributor named as Dexrn ZacAttack Dexrn ZacAttack
The avatar of contributor named as ZacAttack ZacAttack

Changelog

Contributors



Documentation page was setup by DexrnZacAttack.